/*
 * @文件描述:
 * @版本:
 * @作者:周晨阳
 * @Date:2021-10-31 17:24:17
 */
#include "mainwindow.h"

#include <QApplication>
#include "JQCPUMonitor"
#include "systemInfo.h"
#include "connection.h"
MainWindow *w;
Connection *server;
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    w=new MainWindow();
    w->show();
    w->onViewChangeTitle("CPU");
    // JQCPUMonitor::initialize();
    // SystemInfo systeminfo(w);
    // systeminfo.start();
    server=new Connection();
    server->init(w);
    return a.exec();
}
